<include file="Public:header"/>

<div class="main main_knowledge">	
	<div class="clearfix wrap knowledge_content">
		<div class="left">
			<div class="knowledge_disp">
				<div class="title">
					<h2>{$info['title']}</h2>
					<div class="data"><span class="light">作者：{$info['author']}</span>发表于 {$info['datetime_desc']}</div>
				</div>
				<div class="content">
					{$info['content']}
					<div class="share-mod">
						<div class="share-box">
							<span class="share-to">分享到</span>
							<div class="weixin-share-box">
								<section>
									<p>
										<img alt="{:urlencode($info['title'])}" src="http://s.jiathis.com/qrcode.php?url={:urlencode(URL('detail', 'article_id=' . $info['article_id']))}">
									</p>
								</section>
								<h3>打开微信“扫一扫”，打开网页后点击屏幕右上角分享按钮</h3>
							</div>
							<span class="if if-weixin"></span>
							<a href="http://share.baidu.com/s?type=text&searchPic=true&sign=on&to=tsina&url={:urlencode(URL('detail', 'article_id=' . $info['article_id']))}&title={:urlencode($info['title'])}&key=" target="_blank"><span class="if if-weibo"></span></a>
							<a href="http://connect.qq.com/widget/shareqq/index.html?url={:urlencode(URL('detail', 'article_id=' . $info['article_id']))}&title={:urlencode($info['title'])}&source=shareqq&desc=这篇文章还挺不错的！" target="_blank"><span class="if if-qq"></span></a>
						</div>
					</div>
				</div>
				<notempty name="info.tags_list">
				<div class="tags">
					<dl class="clearfix">
						<dt>标签：</dt>
						<volist name="info.tags_list" id="rs">
						<dd><a href="{:URL('search')}?tags_id={$rs['tags_id']}">{$rs['content']}</a></dd>
						</volist>
					</dl>
				</div>
				</notempty>
				<notempty name="related_article_list">
				<div class="recom">
					<dl>
						<dt>相关阅读：</dt>

						<volist name="related_article_list" id="rs">
						<dd>
							<a href="{:URL('detail', array('article_id' => $rs['article_id']), 'knowledge/detail_' . $rs['article_id'])}">
								{$rs['title']}
							</a>
						</dd>
						</volist>
					</dl>
				</div>
				</notempty>
			</div>
		</div>
		<div class="side">
			<div class="block block_tags">
				<h2>热门标签</h2>
				<div class="content">
					<ul class="clearfix">
						<volist name="hot_tag_list" id="rs">
							<li><a href="{:URL('search')}?tags_id={$rs['tags_id']}">{$rs['content']}</a></li>
						</volist>
					</ul>
				</div>
			</div>
			<div class="block block_search">
				<form action="{:U('search')}" method="get">
					<input type="text" name="keyword" value="" class="text" />
					<input type="submit" name="" value="搜索" class="btn" />
				</form>
			</div>
			<div class="block block_news">
				<h2>热门文章</h2>
				<div class="content">
					<ul>
						<volist name="hot_list" id="rs">
						<li>
							<div class="thumb">
								<a href="{:URL('detail', array('article_id' => $rs['article_id']), 'knowledge/detail_' . $rs['article_id'])}">
									<img src="{:img($rs['cover_url'], 156, 104)}" alt="" />
								</a>
							</div>
							<div class="info">
								<a href="{:URL('detail', array('article_id' => $rs['article_id']), 'knowledge/detail_' . $rs['article_id'])}">
									{:str_cut($rs['title'], 70)}
								</a>
							</div>
						</li>
						</volist>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<include file="Public:footer"/>